﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ExtSite
{
    /// <summary>
    /// Contain all static string of project (ex:query string, static string variable)
    /// </summary>
    public class ClsPublicName
    {
        #region QUERYSTRING
        public static string LOCATIONCODE = "loc";
        public static string BINCODE = "bin";
        public static string ITEMID = "itemno";
        public static string ROLEID = "roleid";
        public static string ISFINDER = "fd";

        public static string URL = "url";
        public static string BOOKMARKKEY = "bmkey";
        public static string PROGRAMCODE = "code";
        public static string PROGRAMLINENO = "no";
        public static string PROGRAMTYPE = "type";
        #endregion QUERYSTRING

        #region Dimension
        public static string SALESSTRUCTURE = "Sales_Structure";
        public static string ITEMSTRUCTURE = "Item_Structure";
        public static string CUSTOMERTRUCTURE = "Customer_Structure";
        public static string AREATRUCTURE = "Area_Structure";
        public static string DISTRIBUTORTRUCTURE = "Distributor_Structure";
        public static string SALESFORCE = "Sales_Force";

        public static string BRANCHDIM = "BRANCH";
        public static string AREADIM = "VUNG";
        public static string CHANNELDIM = "CHANNEL";
        //public static string BRANDDIM = "SC25";
        public static string DEPOTDIM = "DEPOT";
        public static string TEAMDIM = "TEAM";
        public static string PROVINCEDIM = "PROVINCE";
        public static string CATEGORYDIM = "CATEGORY";
        public static string BRANDDIM = "BRAND";
        public static string VEHICLEDIM = "VEHICLE";
        #endregion Dimension

        #region Salesperson/Purchase

        public static string SALESPOSITION = "DRIVER";

        #endregion Salesperson/Purchase

        #region Sale DocumentType
        //Quote,Order,Invoice,Credit Memo,Blanket Order,Return Order,Buy-back
        public static int SaleOrder = 1;
        public static int SaleReturnOrder = 5;
        public static int SaleBuyBack = 6;
        public static int SaleQuote = 0;
        #endregion Sale DocumentType

        public static string LOGINSESSION = "LOGIN";

        #region APPSETTING
        public static string PAGESIZE = "PAGESIZE";
        public static string PAGESERVERSIZE = "PAGESERVERSIZE";

        public static string DIMAREACODE = "DIMAREACODE";
        public static string DIMPROVINCECODE = "DIMPROVINCECODE";
        public static string DIMDEPOTCODE = "DIMDEPOTCODE";
        public static string DIMCHANNELCODE = "DIMCHANNELCODE";
        public static string DIMTEAMCODE = "TEAM";
        public static string REPORTPATH = "REPORTPATH";

        public static string DATEFORMAT = "yyyy-MM-dd";
        public static string DATEFORMATDISPLAY = "MM-dd-yyyy";
        //public static string DATEFORMATDISPLAY = "dd/MM/yyyy";

        
        #endregion APPSETTING

        public static string DEPOTLOCATIONLIST = "Depot";
        public static string OTHERUSERMODIFIED = "Other user has modified";
        public static string OTHERUSERMODIFIEDMESSAGE = "Không thể cập nhật thông tin. Vui lòng reload lại trang!";
        public static string NOACCESSMESSAGE = "Bạn không có quyền thực thi chức năng này!";
        public static string LOGINFAIL = "Tên đăng nhập hoặc mật khẩu không đúng";
        public static string MSTITLE = "Thông báo";
        public static string MSCHANGEEXTDOCNOFORHT = "Quá trình thay đổi hoàn tất";
        public static string MSCHANGEEXTDOCNOFORHT2 = "Quá trình thay đổi hoàn tất. Tổng cộng: %0 phiếu.";
        public static string NOACCESSMESSAGE_ENG = "Bạn không có quyền thực hiện chức năng này.";

        public static string EXCELEXPORTPATH = "EXECEXPORT";

        /// <summary>
        /// Temp
        /// </summary>
        public static string DATEFORMATDISPLAY2 = "DATEFORMATDISPLAY2";
        public static string MINDATE = "MINDATE";
        public static string MINDATE2 = "MINDATE2";
        
    }
}
